package com.alibaba.bean;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 用户信息
 */
public class User {
    @JsonProperty(value = "userId")
    private Long userId;
    @JsonProperty(value = "userName")
    private String username;
    private String password;
    private String avatar;

    public Long getId() {
        return userId;
    }



    public void setId(Long userId) {
        this.userId= userId;
    }

    public String getUsername() {
        return username;
    }
    public String getUsername(String username) {
        return this.username=username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
